package com.room.room.dao;

import com.room.room.entity.HouseCollectEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 
 * 
 * @author brh
 * @email sunlightcs@gmail.com
 * @date 2022-04-01 14:56:53
 */
@Mapper
public interface HouseCollectDao extends BaseMapper<HouseCollectEntity> {
    @Select("select * from house_collect where secondary_name=#{secondaryName}")
    HouseCollectEntity findByHouse(@Param("secondaryName") String secondaryName);
}
